package com.paranoidmonkey.ode;

public class Plane extends Geom {
	public Plane(Space space, float a, float b, float c, float d){
		handle=AndrODE.dCreatePlane(space.handle, a, b, c, d);
	}

	public void setParams(float a,float b, float c, float d){
		AndrODE.dGeomPlaneSetParams(handle, a, b, c, d);
	}

	public Vector4 getParams(){
		Vector4 result=new Vector4();
		AndrODE.dGeomPlaneGetParams(handle, result.data);
		return result;
	}

	public float pointDepth(float x,float y, float z){
		return AndrODE.dGeomPlanePointDepth(handle, x, y, z);
	}

}
